/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */
html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
ul {
  list-style: none;
}
button,
input,
select,
textarea {
  margin: 0;
}
html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
img,
video {
  height: auto;
  max-width: 100%;
}
iframe {
  border: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
td:not([align]),
th:not([align]) {
  text-align: left;
}
i {
  font-style: normal;
}

/* chrom滚动条 */
::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
  -webkit-appearance: none;
}

::-webkit-scrollbar-thumb {
  height: 5px;
  border: 1px solid transparent;
  border-top: 0;
  border-bottom: 0;
  background-color: #ccc;
  background-clip: padding-box;
}

/* 元素显示与否 */
.block {
  display: block !important;
}
.none {
  display: block !important;
}
.inline-block {
  display: inline-block !important;
}
/* 定位 */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
/* 没有内边距 */
.no-padding {
  padding: 0px !important;
}
/* 没有边 */
.no-border {
  border: none !important;
}
/* 手形 */
.pointer {
  cursor: pointer !important;
}
/* 对齐方式 */
.align-left {
  text-align: left !important;
}
.align-center {
  text-align: center !important;
}
.align-right {
  text-align: right !important;
}

.border-radius {
  border-radius: 50% !important;
}

/* 单行省略 */
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 两行省略 */
.ellipsis2 {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: pre-wrap;
}

/* 清除浮动 */
.clear {
  clear: both;
}
.clearfix::after {
  display: block;
  clear: both;
  visibility: hidden;
  height: 0;
  content: '';
}
